package com.wl.api.dto.system;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotations.TableField;
import com.wl.api.dto.base.PaginationConst;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * 渠道服务网点
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SecurityChannelAreaServiceNetworkDTO extends PaginationConst implements Serializable {

	private static final long serialVersionUID = 1L;

	private Integer id;

	private Integer areaId;
	
	private Integer partnerId;
	
	private Integer serviceId;

	private String name;

	private String logo;

	private String address;

	private String desc;
	
	/** 网点启用状态1:启用,0:停用 */
	private Integer status;

	private Date updateTime;

	private String updateUser;
	
	private String partnerName; // 	合作商名称
	
	/** 取件服务价格阶梯 */
	private List<SecurityChannelAreaLadderPriceDTO> ladderList;
	
	private BigDecimal amountSt;
	
	private BigDecimal  amountEd;


	public SecurityChannelAreaServiceNetworkDTO buildLadderList(List<SecurityChannelAreaLadderPriceDTO> ladderList) {
		this.ladderList = ladderList;
		return this;
	}
	
	public SecurityChannelAreaServiceNetworkDTO buildPartnerName(String partnerName) {
		this.partnerName = partnerName;
		return this;
	}
}
